<?php
$relPath="./../../pinc/";
require_once $relPath."dpinit.php";
require_once $relPath."dp_main.inc";

$projectid  = ArgProjectId();
$pagename   = ArgPageName();
$roundid    = ArgRoundId();

$page = new DpPage($projectid, $pagename);

$text = $roundid == "" 
            ? $page->ActiveText()
            : $page->RoundText($roundid);

echo SimpleHeader();
echo "<pre>";
echo h($text);
echo "</pre>";
echo SimpleFooter();
// vim: sw=4 ts=4 expandtab
?> 
